//
//  PersonalCenterTableViewCell.m
//  ForengnMenu
//
//  Created by @-@ on 16/1/15.
//  Copyright © 2016年 余旺. All rights reserved.
//

#import "PersonalCenterTableViewCell.h"

@implementation PersonalCenterTableViewCell

- (void)awakeFromNib {
    self.headerBtn.layer.cornerRadius = self.headerBtn.layer.frame.size.height/2.0;
    self.headerBtn.layer.masksToBounds = YES;

}

- (IBAction)headBtn:(id)sender {
    
    
    
    [self.delegate setAction];
//    UIAlertView * alertView = [[UIAlertView alloc]initWithTitle:@"FM头像"
//                                                              message:nil
//                                                              delegate:self
//                                                              cancelButtonTitle:@"取消"
//                                                              otherButtonTitles:@"拍照", @"从相册中取",nil];
//                                   
//    [alertView show];

}



//- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex//点击弹窗按钮后
//{
//    NSLog(@"buttonIndex:%ld",(long)buttonIndex);
//    
//    if (buttonIndex == 0) {//取消
//        NSLog(@"取消");
//    }else if (buttonIndex == 1){//确定
//        
//        NSLog(@"拍照");
//        
//    }else{
//        NSLog(@"从相册中取");
//    }
//}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
